﻿@using CJAtech.BBS.DataEntity;
@model List<CategoryInfo>
@{
    Layout = null;
    CategoryInfo objCategoryInfo = ViewBag.CategoryInfo as CategoryInfo;
    string prefixPath = "";
}
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>近期活动</title>
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <!-- 基础css begin -->
    <link href="@prefixPath/Content/geely/css/base/reset.css" rel="stylesheet" />
    <link href="@prefixPath/Content/geely/css/base/base.css" rel="stylesheet" />
    <!-- 基础css end -->
    <!-- 组件依赖css begin -->
    <link href="@prefixPath/Content/geely/css/widget/button/button.default.css" rel="stylesheet" />
    <link href="@prefixPath/Content/geely/css/widget/button/button.css" rel="stylesheet" />
    <link href="@prefixPath/Content/geely/css/widget/modal/modal.css" rel="stylesheet" />
    <!-- 组件依赖css end -->
    <!-- 公用css begin -->
    <link href="@prefixPath/Content/geely/css/custom.css" rel="stylesheet" />
    <link href="@prefixPath/Content/geely/css/style.css" rel="stylesheet" />
    <link href="@prefixPath/Content/geely/css/theme.css" rel="stylesheet" />
    <!-- 公用css end -->
    <link rel="stylesheet" href="@prefixPath/Content/geely/css/header-line.css" />
    <link rel="stylesheet" href="@prefixPath/Content/geely/css/publicTraining.css" />
    <style type="text/css">
        .button-big {
            padding-left: 170px;
            text-align: left;
            position: relative;
        }

            .button-big img {
                height: 100%;
                top: 0;
                left: 0;
                position: absolute;
            }
    </style>
</head>
<body>
    <div id="background">
        <!-- #include file="include/background.html" -->
    </div>
    <div class="wrapper" id="wrapper">
        <div id="logo">
            <!--#include file="include/header.html" -->
        </div>
        <div id="content">
            <header class="text-align-center margin-top-20">
                <h1 class="nowrap">
                    <span class="header-line"></span>
                    <span>@objCategoryInfo.CategoryName</span>
                    <span class="header-line"></span>
                </h1>
            </header>
            <section>
                @if (Model.IsNoNull())
                {
                    foreach (CategoryInfo objChild in Model)
                    {
                        <a href="@prefixPath/geely/recentactivities/@objChild.CategoryId" class="button-big">
                            @if (objChild.MinPic.IsNoNull())
                            {
                                <img src="@objChild.MinPic" />
                            }
                            @objChild.CategoryName
                        </a>
                    }
                }
            </section>

        </div>
    </div>
    <!-- 组件依赖js begin -->
    <script src="@prefixPath/Content/geely/js/dist/zepto.min.js"></script>
    <script src="@prefixPath/Content/geely/js/extend/fastclick.js"></script>
    <script src="@prefixPath/Content/geely/js/extend/compatibleIE9.js"></script>
    <script src="@prefixPath/Content/geely/js/extend/selector.js"></script>
    <script src="@prefixPath/Content/geely/js/widget/modal/modal.js"></script>
    <!-- 组件依赖js end -->
    <!-- 公用js begin -->
    <script src="@prefixPath/Content/geely/js/script.js"></script>
    <!-- 公用js begin -->
</body>
</html>
